﻿using Domain.Entities.Customers;
using FrameworkCore.Migrations.Data;
using System.ComponentModel.DataAnnotations.Schema;

namespace Domain.Entities.Roles;

/// <summary>
/// 用户角色表
/// </summary>
[Table("CustomerRoles")]
public class CustomerRole: BaseEntity
{
    public long CustomerId { get; set; }

    public virtual Customer? Customer { get; set; }

    public long RoleId { get; set; }

    public virtual Role? Role { get; set; }
}
